<template>
  <div id="app">
    <router-view class="content"></router-view>
    <div id="nav">
      <Footer
        v-if="
          $route.path == '/' ||
          $route.path.match('/home') ||
          $route.path == '/kind' ||
          $route.path == '/ceo' ||
          $route.path == '/me' ||
          $route.path == '/cart'
        "
      ></Footer>
    </div>
  </div>
</template>

<script>
import Footer from "@/components/Footer.vue";

export default {
  name: "App",
  components: {
    Footer,
  },
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body,
#app {
  height: 100%;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  display: flex;
  flex-direction: column;
  background: #f7f7f7;
}
.content {
  flex: 1;
  overflow: hidden;
}
</style>
